\hypertarget{ylog_8hpp}{}\doxysection{/home/sky/y\+Lib/include/utility/ylog.hpp File Reference}
\label{ylog_8hpp}\index{/home/sky/yLib/include/utility/ylog.hpp@{/home/sky/yLib/include/utility/ylog.hpp}}
{\ttfamily \#include $<$iostream$>$}\newline
{\ttfamily \#include $<$string$>$}\newline
{\ttfamily \#include $<$unordered\+\_\+map$>$}\newline
{\ttfamily \#include $<$utility$>$}\newline
{\ttfamily \#include \char`\"{}core/yobject.\+hpp\char`\"{}}\newline
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structSubCategoryProperty}{Sub\+Category\+Property}}
\item 
class \mbox{\hyperlink{classyLib_1_1yLog}{y\+Lib\+::y\+Log}}
\begin{DoxyCompactList}\small\item\em This is log-\/class based on log4cpp in \mbox{\hyperlink{namespaceyLib}{y\+Lib}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespaceyLib}{y\+Lib}}
\begin{DoxyCompactList}\small\item\em This is a top namespace in \mbox{\hyperlink{namespaceyLib}{y\+Lib}}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{ylog_8hpp_a8b8af8bedcac87c0d3c68634448b94a7}{M\+S\+G\+\_\+\+B\+U\+F\+\_\+\+S\+I\+ZE}}~4096
\begin{DoxyCompactList}\small\item\em The max string buffer of y\+Log. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{ylog_8hpp_aced280dedfb9d8f58b069c7a1f80c4ae}{E\+N\+A\+B\+L\+E\+\_\+\+D\+E\+B\+U\+G\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}}~0x01
\item 
\#define \mbox{\hyperlink{ylog_8hpp_a09c60e92e112d65ddbacc436aa07deb1}{E\+N\+A\+B\+L\+E\+\_\+\+I\+N\+F\+O\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}}~0x02
\item 
\#define \mbox{\hyperlink{ylog_8hpp_a10f2665cc4ac0677065465bb223fca82}{E\+N\+A\+B\+L\+E\+\_\+\+W\+A\+R\+N\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}}~0x04
\item 
\#define \mbox{\hyperlink{ylog_8hpp_a5c2526c8361b57ec2e1b6329c0fc24a2}{E\+N\+A\+B\+L\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}}~0x08
\item 
\#define \mbox{\hyperlink{ylog_8hpp_ad161b25638e6ab25dae2036ac895252d}{E\+N\+A\+B\+L\+E\+\_\+\+A\+L\+L\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}}~(\mbox{\hyperlink{ylog_8hpp_aced280dedfb9d8f58b069c7a1f80c4ae}{E\+N\+A\+B\+L\+E\+\_\+\+D\+E\+B\+U\+G\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}} $\vert$ \mbox{\hyperlink{ylog_8hpp_a09c60e92e112d65ddbacc436aa07deb1}{E\+N\+A\+B\+L\+E\+\_\+\+I\+N\+F\+O\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}} $\vert$ \mbox{\hyperlink{ylog_8hpp_a10f2665cc4ac0677065465bb223fca82}{E\+N\+A\+B\+L\+E\+\_\+\+W\+A\+R\+N\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}} $\vert$ \mbox{\hyperlink{ylog_8hpp_a5c2526c8361b57ec2e1b6329c0fc24a2}{E\+N\+A\+B\+L\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}})
\item 
\#define \mbox{\hyperlink{ylog_8hpp_a70a0ad84667cf6a47cbdbee2d127457c}{D\+I\+S\+A\+B\+L\+E\+\_\+\+A\+L\+L\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}}~0x00
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef std\+::unordered\+\_\+map$<$ \mbox{\hyperlink{src_2CMakeLists_8txt_a296644e9ff1d0a602b4703f361406374}{std\+::string}}, \mbox{\hyperlink{structSubCategoryProperty}{Sub\+Category\+Property}} $>$ \mbox{\hyperlink{namespaceyLib_aafac5e659058b54da4669f945e6e55c5}{y\+Lib\+::\+Type\+Sub\+Category\+Map}}
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342}{y\+Lib\+::y\+Log\+Level}} \+: uint16\+\_\+t \{ \newline
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342a0fd7d6244725d42859bb1fb27738c2af}{y\+Lib\+::\+\_\+\+D\+I\+S\+A\+B\+L\+E\+\_\+\+A\+L\+L\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = 0x0000, 
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342a55ec417518856b1870d0ce693cecc100}{y\+Lib\+::\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+D\+E\+B\+U\+G\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = 0x0001, 
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342a214e99a31ab7b6b570e53837391feced}{y\+Lib\+::\+\_\+\+D\+I\+S\+A\+B\+L\+E\+\_\+\+D\+E\+B\+U\+G\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = (uint16\+\_\+t)$\sim$\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+D\+E\+B\+U\+G\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+, 
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342a6b6c5b0e8906001ab7a7e914cf5d8ea9}{y\+Lib\+::\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+I\+N\+F\+O\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = 0x0002, 
\newline
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342acaa38d80f78fd2122b196c98de6ad6ec}{y\+Lib\+::\+\_\+\+D\+I\+S\+A\+B\+L\+E\+\_\+\+I\+N\+F\+O\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = (uint16\+\_\+t)$\sim$\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+I\+N\+F\+O\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+, 
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342aee0eb9242e824b44c016a78530e886de}{y\+Lib\+::\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+W\+A\+R\+N\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = 0x0004, 
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342a0ee94de6edb6e2c0a07f803d0479c823}{y\+Lib\+::\+\_\+\+D\+I\+S\+A\+B\+L\+E\+\_\+\+W\+A\+R\+N\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = (uint16\+\_\+t)$\sim$\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+W\+A\+R\+N\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+, 
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342a6672d74e17f387c6498391f81871a830}{y\+Lib\+::\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = 0x0008, 
\newline
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342a8a728eaa8d302d8808a741b63a951c8a}{y\+Lib\+::\+\_\+\+D\+I\+S\+A\+B\+L\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = (uint16\+\_\+t)$\sim$\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+, 
\mbox{\hyperlink{namespaceyLib_aba38c805e216325a931550a322517342a5315323b10df8c5224204dad6ee3dcff}{y\+Lib\+::\+\_\+\+E\+N\+A\+B\+L\+E\+\_\+\+A\+L\+L\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+E\+L\+\_\+}} = 0x\+F\+F\+FF
 \}
\begin{DoxyCompactList}\small\item\em the level of ylog. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{ylog_8hpp_a70a0ad84667cf6a47cbdbee2d127457c}\label{ylog_8hpp_a70a0ad84667cf6a47cbdbee2d127457c}} 
\index{ylog.hpp@{ylog.hpp}!DISABLE\_ALL\_LOG\_LEVEL@{DISABLE\_ALL\_LOG\_LEVEL}}
\index{DISABLE\_ALL\_LOG\_LEVEL@{DISABLE\_ALL\_LOG\_LEVEL}!ylog.hpp@{ylog.hpp}}
\doxysubsubsection{\texorpdfstring{DISABLE\_ALL\_LOG\_LEVEL}{DISABLE\_ALL\_LOG\_LEVEL}}
{\footnotesize\ttfamily \#define D\+I\+S\+A\+B\+L\+E\+\_\+\+A\+L\+L\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL~0x00}

\mbox{\Hypertarget{ylog_8hpp_ad161b25638e6ab25dae2036ac895252d}\label{ylog_8hpp_ad161b25638e6ab25dae2036ac895252d}} 
\index{ylog.hpp@{ylog.hpp}!ENABLE\_ALL\_LOG\_LEVEL@{ENABLE\_ALL\_LOG\_LEVEL}}
\index{ENABLE\_ALL\_LOG\_LEVEL@{ENABLE\_ALL\_LOG\_LEVEL}!ylog.hpp@{ylog.hpp}}
\doxysubsubsection{\texorpdfstring{ENABLE\_ALL\_LOG\_LEVEL}{ENABLE\_ALL\_LOG\_LEVEL}}
{\footnotesize\ttfamily \#define E\+N\+A\+B\+L\+E\+\_\+\+A\+L\+L\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL~(\mbox{\hyperlink{ylog_8hpp_aced280dedfb9d8f58b069c7a1f80c4ae}{E\+N\+A\+B\+L\+E\+\_\+\+D\+E\+B\+U\+G\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}} $\vert$ \mbox{\hyperlink{ylog_8hpp_a09c60e92e112d65ddbacc436aa07deb1}{E\+N\+A\+B\+L\+E\+\_\+\+I\+N\+F\+O\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}} $\vert$ \mbox{\hyperlink{ylog_8hpp_a10f2665cc4ac0677065465bb223fca82}{E\+N\+A\+B\+L\+E\+\_\+\+W\+A\+R\+N\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}} $\vert$ \mbox{\hyperlink{ylog_8hpp_a5c2526c8361b57ec2e1b6329c0fc24a2}{E\+N\+A\+B\+L\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL}})}

\mbox{\Hypertarget{ylog_8hpp_aced280dedfb9d8f58b069c7a1f80c4ae}\label{ylog_8hpp_aced280dedfb9d8f58b069c7a1f80c4ae}} 
\index{ylog.hpp@{ylog.hpp}!ENABLE\_DEBUG\_LOG\_LEVEL@{ENABLE\_DEBUG\_LOG\_LEVEL}}
\index{ENABLE\_DEBUG\_LOG\_LEVEL@{ENABLE\_DEBUG\_LOG\_LEVEL}!ylog.hpp@{ylog.hpp}}
\doxysubsubsection{\texorpdfstring{ENABLE\_DEBUG\_LOG\_LEVEL}{ENABLE\_DEBUG\_LOG\_LEVEL}}
{\footnotesize\ttfamily \#define E\+N\+A\+B\+L\+E\+\_\+\+D\+E\+B\+U\+G\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL~0x01}

\mbox{\Hypertarget{ylog_8hpp_a5c2526c8361b57ec2e1b6329c0fc24a2}\label{ylog_8hpp_a5c2526c8361b57ec2e1b6329c0fc24a2}} 
\index{ylog.hpp@{ylog.hpp}!ENABLE\_ERROR\_LOG\_LEVEL@{ENABLE\_ERROR\_LOG\_LEVEL}}
\index{ENABLE\_ERROR\_LOG\_LEVEL@{ENABLE\_ERROR\_LOG\_LEVEL}!ylog.hpp@{ylog.hpp}}
\doxysubsubsection{\texorpdfstring{ENABLE\_ERROR\_LOG\_LEVEL}{ENABLE\_ERROR\_LOG\_LEVEL}}
{\footnotesize\ttfamily \#define E\+N\+A\+B\+L\+E\+\_\+\+E\+R\+R\+O\+R\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL~0x08}

\mbox{\Hypertarget{ylog_8hpp_a09c60e92e112d65ddbacc436aa07deb1}\label{ylog_8hpp_a09c60e92e112d65ddbacc436aa07deb1}} 
\index{ylog.hpp@{ylog.hpp}!ENABLE\_INFO\_LOG\_LEVEL@{ENABLE\_INFO\_LOG\_LEVEL}}
\index{ENABLE\_INFO\_LOG\_LEVEL@{ENABLE\_INFO\_LOG\_LEVEL}!ylog.hpp@{ylog.hpp}}
\doxysubsubsection{\texorpdfstring{ENABLE\_INFO\_LOG\_LEVEL}{ENABLE\_INFO\_LOG\_LEVEL}}
{\footnotesize\ttfamily \#define E\+N\+A\+B\+L\+E\+\_\+\+I\+N\+F\+O\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL~0x02}

\mbox{\Hypertarget{ylog_8hpp_a10f2665cc4ac0677065465bb223fca82}\label{ylog_8hpp_a10f2665cc4ac0677065465bb223fca82}} 
\index{ylog.hpp@{ylog.hpp}!ENABLE\_WARN\_LOG\_LEVEL@{ENABLE\_WARN\_LOG\_LEVEL}}
\index{ENABLE\_WARN\_LOG\_LEVEL@{ENABLE\_WARN\_LOG\_LEVEL}!ylog.hpp@{ylog.hpp}}
\doxysubsubsection{\texorpdfstring{ENABLE\_WARN\_LOG\_LEVEL}{ENABLE\_WARN\_LOG\_LEVEL}}
{\footnotesize\ttfamily \#define E\+N\+A\+B\+L\+E\+\_\+\+W\+A\+R\+N\+\_\+\+L\+O\+G\+\_\+\+L\+E\+V\+EL~0x04}

\mbox{\Hypertarget{ylog_8hpp_a8b8af8bedcac87c0d3c68634448b94a7}\label{ylog_8hpp_a8b8af8bedcac87c0d3c68634448b94a7}} 
\index{ylog.hpp@{ylog.hpp}!MSG\_BUF\_SIZE@{MSG\_BUF\_SIZE}}
\index{MSG\_BUF\_SIZE@{MSG\_BUF\_SIZE}!ylog.hpp@{ylog.hpp}}
\doxysubsubsection{\texorpdfstring{MSG\_BUF\_SIZE}{MSG\_BUF\_SIZE}}
{\footnotesize\ttfamily \#define M\+S\+G\+\_\+\+B\+U\+F\+\_\+\+S\+I\+ZE~4096}



The max string buffer of y\+Log. 

